<!DOCTYPE html>
<html>
<#include "../head.html">
    <body>
    <table class="mc">
        <tr>
            <td class="mc-l">
                <!--左侧导航---{-->
                <div id="navPanelContainer">
                    <div class="system-logo cd"></div>
                    <!--管理员信息---{-->
                    <#include "../adminInfo.html">
                        <!--管理员信息---}-->
                        <div class="nav-wrap">
                            <#include "left.html">
                        </div>
                </div>
                <!--左侧导航---}-->
            </td>
            <td class="mc-m">
                <div class="navToggle"></div>
            </td>
            <td class="mc-r">
                <!--顶部导航---{-->
                <#include "../topNav.html">
                    <!--顶部导航---}-->

                    <!--面包屑导航---{-->
                    <#assign moduleName="用户来源投资统计">
                        <#include "banner.html">
                            <!--面包屑导航---}-->

                            <!--工具栏--{-->
                            <div id="toolbar" class="clearfix">
                                <div class="toolbor-module search">
                                 	<div class="formTit">起始日期：</div>
                                    <input class="_search-value" name="startTime" id="startTime" value="" onclick="change_picktime()"/>
                                    <div class="formTit">截止日期：</div>
                                    <input class="_search-value" name="endTime" id="endTime" value="" onclick="change_picktime()"/>
                                 	
                                    <input type="button" value="搜索"  class="input-button" onclick="sousuo();">
                                </div>
                            </div>
                            
							<input type="hidden" id="userId" name="userId" value="${userId?c!''}"> 
                            <!--工具栏--}-->

                            <div id="main" class="clearfix">
                                <form action="" method="post">
                                    <table class="data-list">
                                        <tr class="header">
                                       		<td>时间</td>
                                            <td>注册人数</td>
                                            <td>投资比数</td> 
                                            <td>投资总额</td>
                                            
                                        </tr>
                                            <tr class="s">
                                                <td>${time!''}</td>
                                                <td>${map.get("registerNum")}</td>
                                                <td>${map.get("tenderNum")}</td>
                                                <td>${map.get("tenderTotol")}元</td>
                                              
                                            </tr>
                                    </table>
                                </form>

                                <!--底部工具栏--{-->
                                <div id="bottomToolbar" class="clearfix">
                                    <div class="other-tool">
                                        <dl class="refresh-data">
                                            <dt class="refresh-data-icon"></dt>
                                            <dd><a href="javascript:void(0);" class="refresh-page">刷新数据</a></dd>
                                        </dl>
                                    </div>
                               
                                </div>
                                <!--底部工具栏--}-->
                                
                                
                                <script>
                                    var url = 'querySourceFromDetail.html?search=true';

                                    function sousuo(){
                                        var sou = "";
                                      
                                        var startTime = $("#startTime").val();
                                        var endTime = $("#endTime").val();
                                    	var userId = $("#userId").val();
                                    	if(userId !=null && userId !="undefine"){
                                    		 sou += "&userId="+userId;
                                    	}
                                        if (startTime!=null&&startTime!=""&&startTime!="undefine"&&startTime!="请输入标题关键字"){
                                            sou += "&startTime="+startTime;
                                        }
                                        if (endTime!=null&&endTime!=""&&endTime!="undefine"&&endTime!="请输入标题关键字"){
                                            sou += "&endTime="+endTime;
                                        }
                                        
                                            location.href=url+sou;
                                        
                                    }
                                   
                                    
                                </script>
                            </div>

            </td>
        </tr>
        <tr>
            <!--尾部--{-->
            <td colspan="3" class="mc-b"><#include "../foot.html"></td>
            <!--尾部--}-->
        </tr>
    </table>

    </body>
</html>
<#include "../jsPage.html">
